package com.demo.mdmt.config;

import io.seata.spring.annotation.GlobalTransactionScanner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 * @author
 * @since
 */
@Configuration
public class SeataAutoConfig {
  /**
   * init global transaction scanner
   *
   * @Return: GlobalTransactionScanner
   */
  @Bean
  public GlobalTransactionScanner globalTransactionScanner(){
    return new GlobalTransactionScanner("impl-test02", "limit-center");
  }
}
